package com.eascs.web.p2p.action;

import java.util.List;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.alibaba.dubbo.config.annotation.Reference;
import com.eascs.p2p.common.service.IAssociateDataService;
import com.eascs.p2p.common.vo.BidVO;
import com.eascs.site.view.BaseRestResult;

@Controller
@RequestMapping("/common")
public class CommerController {
	
	
	@Reference
	IAssociateDataService iAssociateDataService;
	
	@RequestMapping("/getLoaneerInfo")
	public BaseRestResult<List<Object[]>> getLoaneerInfo(BidVO vo){
		List<Object[]> list= iAssociateDataService.getLoaneerInfo(vo.getLoaneeId());
		return BaseRestResult.buildRestResult(list);
	}

}
